#include <stdio.h>
#include <stdlib.h>
#include <math.h>

const char* GAME_TITLE =
"		##      #     # #        #  #   \n"
"		# #     #   #     #      #    # \n"
"		#  #    #  #       #     #     #   \n"
"		#   #   #  #       #     #     #\n"
"		#    #  #  #       #     #     #\n" 
"		#     # #    #	  #       #    #  \n"
"		#      ##      #         #   #\n\n";


         int nod(int a, int b) {
   if (b == 0) return a;
     return nod(b, a % b);
 }
 int ful_nod(int a, int b)
 {
	     if (a>=b){
               return nod(a,b);
        }
        else{
              return nod(b,a);
        }

 }

void main()
{  
        int a, b;
        int ;
        printf(	"%s", GAME_TITLE);
      
        
        printf("vvedite pervoe chislo\n");
        scanf("%d", &a);

        printf("vvedite vtoroe chislo\n");
        scanf("%d", &b);
		printf("Nod etih chel = %d\n",ful_nod(a,b));

    
        
system("pause");
}